package com.yycx.module.bus.client.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * 凭证类型
 */

public enum VoucherTypeEnum {

    Xs(2, "销售"),
    Sk(3, "收款"),
    Cg(4, "采购"),
    Fk(5, "付款"),
    Cb(6, "成本"),
    Pz(7, "票折"),
    Yp(8, "样品");


    @EnumValue
    private Integer code;
    private String name;

    VoucherTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    VoucherTypeEnum() {

    }

    public Integer getCode() {
        return this.code;
    }

    public String getName() {
        return this.name;
    }
}
